package com.cskaoyan.gateway.Dto;

import java.io.Serializable;

public class LoginOfPostDto implements Serializable {

    /**
     * code : 000000
     * msg : 成功
     * id : 998
     * username : zhanghw1316
     * phone : null
     * email : 909904778@qq.com
     * sex : null
     * address : null
     * file : null
     * description : null
     * points : null
     * balance : null
     * state : 1
     * token : eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3bGd6cyIsImV4cCI6MTYyMTkwNTQzNywidXNlciI6IkFDRjkzOUQ2MUU4NUNGNkYyMEMyRTNEQTRGNEI4MTY0MTQwNjkyRDk1MDZCNjlFOUREQzU4RTExMDA5Q0IzNDQ4MDJGODJCODUwODBCN0FBM0EwMDEwOUJBQThDQzRDMiJ9.e6xB4rrBiLhJSq8zIJpg2Lfg6XnZSAgPQPJLu5Phkm4
     */

    private String code;
    private String msg;
    private Long id;
    private String username;
    private String phone;
    private String email;
    private String sex;
    private String address;
    private String file;
    private String description;
    private Integer points;
    private Double balance;
    private int state;
    private String token;

    public LoginOfPostDto setCode(String code) {
        this.code = code;
        return this;
    }

    public LoginOfPostDto setMsg(String msg) {
        this.msg = msg;
        return this;
    }

    public LoginOfPostDto setId(Long id) {
        this.id = id;
        return this;
    }

    public LoginOfPostDto setUsername(String username) {
        this.username = username;
        return this;
    }

    public LoginOfPostDto setPhone(String phone) {
        this.phone = phone;
        return this;
    }

    public LoginOfPostDto setEmail(String email) {
        this.email = email;
        return this;
    }

    public LoginOfPostDto setSex(String sex) {
        this.sex = sex;
        return this;
    }

    public LoginOfPostDto setAddress(String address) {
        this.address = address;
        return this;
    }

    public LoginOfPostDto setFile(String file) {
        this.file = file;
        return this;
    }

    public LoginOfPostDto setDescription(String description) {
        this.description = description;
        return this;
    }

    public LoginOfPostDto setPoints(Integer points) {
        this.points = points;
        return this;
    }

    public LoginOfPostDto setBalance(Double balance) {
        this.balance = balance;
        return this;
    }

    public LoginOfPostDto setState(int state) {
        this.state = state;
        return this;
    }

    public LoginOfPostDto setToken(String token) {
        this.token = token;
        return this;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public Long getId() {
        return id;
    }

    public String getUsername() {
        return username;
    }

    public String getPhone() {
        return phone;
    }

    public String getEmail() {
        return email;
    }

    public String getSex() {
        return sex;
    }

    public String getAddress() {
        return address;
    }

    public String getFile() {
        return file;
    }

    public String getDescription() {
        return description;
    }

    public Integer getPoints() {
        return points;
    }

    public Double getBalance() {
        return balance;
    }

    public int getState() {
        return state;
    }

    public String getToken() {
        return token;
    }

    public LoginOfPostDto() {
    }

    public LoginOfPostDto(String code, String msg, Long id, String username, String phone, String email, String sex, String address, String file, String description, Integer points, Double balance, int state, String token) {
        this.code = code;
        this.msg = msg;
        this.id = id;
        this.username = username;
        this.phone = phone;
        this.email = email;
        this.sex = sex;
        this.address = address;
        this.file = file;
        this.description = description;
        this.points = points;
        this.balance = balance;
        this.state = state;
        this.token = token;
    }
}
